 /* 全局设置 */
body {
    background-color: #f5f7fa;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 容器样式修改 */
.pear-container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

/* 移除原有的列偏移 */
.layui-col-md8.layui-col-md-offset2 {
    width: 100%;
    margin-left: 0;
}

/* 卡片美化 */
.layui-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.layui-card-header {
    background: #3b82f6;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.layui-card-body {
    padding: 25px;
}

/* 头像样式 */
.user-info-head {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #3b82f6;
    margin: 20px auto;
    display: block;
}

.user-info-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文本居中 */
.text-center {
    text-align: center;
}

/* 提示信息样式 */
.tips {
    background-color: #e6f4ff;
    color: #0369a1;
    padding: 10px 20px;
    border-left: 4px solid #3b82f6;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 14px;
}

/* 表单样式 */
.layui-form-label {
    font-size: 14px;
    font-weight: bold;
    padding-right: 10px;
    text-align: left;
    color: #555;
}

.layui-input {
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    transition: border-color 0.2s ease-in-out;
}

.layui-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
}

/* 表单布局优化 */
.layui-row {
    margin: 0 -10px;
}

.layui-col-md6 {
    padding: 0 10px;
    box-sizing: border-box;
}

.layui-form-item {
    margin-bottom: 20px;
}

.layui-input-block {
    margin-left: 0;
}

.layui-input-block {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pear-btn.pear-btn-primary {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
    padding: 0 38px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    min-width: 700px;
}

/* 按钮悬浮效果 */
.pear-btn.pear-btn-primary:hover {
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* 按钮点击效果 */
.pear-btn.pear-btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

/* 按钮波纹效果 */
.pear-btn.pear-btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.pear-btn.pear-btn-primary:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* 波纹动画 */
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* 加载状态 */
.pear-btn.pear-btn-primary.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* 禁用状态 */
.pear-btn.pear-btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
}

/* 分隔线样式 */
.layui-card div[style*="border-top"] {
    border-top-color: #f0f0f0 !important;
    background-color: #fafafa;
}

/* 提示文本样式 */
#hitokoto {
    color: #666;
}

#hitokoto_text {
    text-decoration: none;
    color: inherit;
}

/* 动画效果 */
.layui-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layui-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 输入框动画 */
.layui-input {
    transition: all 0.3s ease;
}

.layui-input:hover {
    border-color: #a0aec0;
}

/* 表单组间距 */
.layui-form-item:last-child {
    margin-bottom: 0;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .pear-container {
        padding: 15px;
    }
}

@media screen and (max-width: 992px) {
    .layui-col-md6 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .pear-container {
        padding: 10px;
    }
    
    .layui-card-body {
        padding: 15px;
    }
    
    .layui-form-label {
        padding-bottom: 10px;
    }
    
    .user-info-head {
        width: 100px;
        height: 100px;
    }
    
    .layui-card-header {
        font-size: 16px;
        padding: 12px;
    }

    .pear-btn.pear-btn-primary {
        height: 44px;
        line-height: 44px;
        padding: 0 30px;
        font-size: 15px;
        min-width: 140px;
    }
    
    .layui-input-block {
        margin-top: 30px;
    }
}